package gof_003_行为型_Behavioral.gof_004_策略_Strategy.gof_002_Strategy;

public class Strategy_1 implements Strategy{

    @Override
    public boolean condition(Student student) {
        //策略1 年龄大于20
        return student.getAge() > 20;
    }
}
